package com.gitee.cliveyuan.tools.bean.rsa;

import lombok.Builder;
import lombok.Data;

import java.io.Serializable;

/**
 * Created by Clive on 2020/02/22.
 */
@Data
@Builder
public class RSASignReq implements Serializable {

    // region required
    /**
     * 需要签名的数据字符串 (必传)
     */
    private String data;
    /**
     * RSA私钥  (必传)
     */
    private String privateKeyString;

    // endregion required



    // region optional
    /**
     * 密钥算法, 默认 RSA
     */
    private String keyAlgorithm;

    /**
     * 签名算法, 默认 SHA256withRSA
     */
    private String signatureAlgorithm;

    /**
     * 编码方式, 默认 UTF-8
     */
    private String charset;

    // endregion optional
}
